﻿using CRedis.Client.Logic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RedisClientTest
{
    public class MyClientPool:ClientPool
    {
        public MyClientPool(MyRedisServer server):base(server)
        {

        }
        public T Excute<T>(Func<MyRedisClient, T> action, string methodName)
        {
            return base.Excute<T>((c) => { return action((MyRedisClient)c); }, methodName);
        }
    }
}
